Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some epoll events #230

Merged
merged 1 commit into from
Jun 9, 2024
Merged

Add some epoll events #230

merged 1 commit into from
Jun 9, 2024

Conversation

PioLing
Copy link
Contributor

@PioLing PioLing commented Jun 4, 2024

#183#226

@PioLing
Copy link
Contributor Author

PioLing commented Jun 4, 2024

如果没有捕获 EPOLLIN, EPOLLOUT, 或 EPOLLERR 的话 ?

@PioLing
Copy link
Contributor Author

PioLing commented Jun 5, 2024

如果没有捕获 EPOLLIN, EPOLLOUT, 或 EPOLLERR 的话 ?

EPOLLIN:表示文件描述符可以进行读操作,即文件描述符上有数据可读。当文件描述符上有数据可读时,会触发EPOLLIN事件,通常用于读取数据。

EPOLLRDNORM:与EPOLLIN相同,表示文件描述符可以进行普通数据的读操作。EPOLLRDNORM是EPOLLIN的一个别名,用于表示普通数据的可读性。

EPOLLHUP:表示文件描述符被挂起,即对端关闭了连接或者发生了异常情况。当文件描述符被挂起时,会触发EPOLLHUP事件,通常用于处理连接的异常情况或关闭连接。

EPOLLWRNORM:与EPOLLOUT相同,表示文件描述符可以进行普通数据的写操作。EPOLLWRNORM是EPOLLOUT的一个别名,用于表示普通数据的可写性。

@xia-chu xia-chu merged commit 14fae83 into ZLMediaKit:master Jun 9, 2024
5 checks passed
@PioLing PioLing deleted the coding branch June 15, 2024 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants